package com.ruoyi.basicActivity.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 活动管理对象 ry_activity
 * 
 * @author ruoyi
 * @date 2025-10-10
 */
public class RyActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 活动标题 */
    @Excel(name = "活动标题")
    private String title;

    /** 活动简介 */
    @Excel(name = "活动简介")
    private String content;

    /** 活动详情 */
    @Excel(name = "活动详情")
    private String details;

    /** 活动类型 */
    @Excel(name = "活动类型")
    private String type;

    /** 活动封面 */
    @Excel(name = "活动封面")
    private String imageUrl;

    /** 分享次数 */
    @Excel(name = "分享次数")
    private Long shareNum;

    /** 报名人数 */
    @Excel(name = "报名人数")
    private Long signNum;

    /** 发放人数 */
    @Excel(name = "发放人数")
    private Long grantNum;

    /** 限制人数 */
    @Excel(name = "限制人数")
    private Long limitNum;

    /** 限制最小年龄 */
    @Excel(name = "限制最小年龄")
    private Long limitAgeMin;

    /** 限制最大年龄 */
    private Long limitAgeMax;

    /** 状态（0显示 1隐藏） */
    private String status;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    /** 开始时间 */
    private Date startTime;

    /** 结束时间 */
    private Date endTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setDetails(String details) 
    {
        this.details = details;
    }

    public String getDetails() 
    {
        return details;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }

    public void setShareNum(Long shareNum) 
    {
        this.shareNum = shareNum;
    }

    public Long getShareNum() 
    {
        return shareNum;
    }

    public void setSignNum(Long signNum) 
    {
        this.signNum = signNum;
    }

    public Long getSignNum() 
    {
        return signNum;
    }

    public void setGrantNum(Long grantNum) 
    {
        this.grantNum = grantNum;
    }

    public Long getGrantNum() 
    {
        return grantNum;
    }

    public void setLimitNum(Long limitNum) 
    {
        this.limitNum = limitNum;
    }

    public Long getLimitNum() 
    {
        return limitNum;
    }

    public void setLimitAgeMin(Long limitAgeMin) 
    {
        this.limitAgeMin = limitAgeMin;
    }

    public Long getLimitAgeMin() 
    {
        return limitAgeMin;
    }

    public void setLimitAgeMax(Long limitAgeMax) 
    {
        this.limitAgeMax = limitAgeMax;
    }

    public Long getLimitAgeMax() 
    {
        return limitAgeMax;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }

    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("details", getDetails())
            .append("type", getType())
            .append("imageUrl", getImageUrl())
            .append("shareNum", getShareNum())
            .append("signNum", getSignNum())
            .append("grantNum", getGrantNum())
            .append("limitNum", getLimitNum())
            .append("limitAgeMin", getLimitAgeMin())
            .append("limitAgeMax", getLimitAgeMax())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .toString();
    }
}
